package com.pms.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WorkAttendance {
    private Long id;
    private Long userId;
    private Date operateTime;
    private Integer operateType;
    private Float operateLatitude;
    private Float operateLongitude;
    private String operateAddress;

    // 关联字段
    private String userName;
    // 非持久化字段，仅用于业务逻辑
    private Boolean isManualInput;
    private Integer distance;

}